// 引入React和ReactDOM库
import React from'react';
import ReactDOM from'react-dom/client';
// 引入主应用组件
import App from './App';

// 创建React根节点并渲染应用
const root = ReactDOM.createRoot(
  document.getElementById('root') as HTMLElement
);
root.render(
  <React.StrictMode>
    <App />
  </React.StrictMode>
);